FROM elleflorio/svn-server:latest

WORKDIR /home/svn

RUN htpasswd -b /etc/subversion/passwd admin admin

COPY subversion-access-control /etc/subversion/subversion-access-control

RUN svnadmin create repo

RUN chmod -R 777 /home/svn/